a=set([1,2,3,4,5,6])
b=set([2,4,6,8,10])
print(a|b)
print(a&b)
